package com.spdbcc;


/**
 * public class FilterEmployeeForAge implements MyPredicate<Employee>
 *
 *
 * public class FilterEmployeeForAge<Employee> implements MyPredicate<Employee>
 */
public class FilterEmployeeForAge implements MyPredicate<Employee> {

    @Override
    public boolean test(Employee t) {

        return t.getAge()>18;
        //test()
    }
}
